<%@ taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" href='<spring:theme code="theme"/>' type="text/css" />
		<!-- jquery for calendar date picker -->
		<link rel="stylesheet" href="jquery/themes/base/jquery-ui.css" type="text/css"/>
		<script src="jquery/jquery-1.8.3.js"></script>
		<script src="jquery/ui/1.10.0/jquery-ui.js"></script>
	<!-- <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" />
	<script src="http://code.jquery.com/jquery-1.8.3.js"></script>
	<script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script> -->
		<script>
		$(function() {
			$( '[id^="datePicker"]' ).datepicker({ dateFormat: 'yy-mm-dd' });
		});
		</script>
		<title>
			<decorator:title />
		</title>
	</head>
	<body>
		<div id="header">
			<h1><spring:message code="page.header.title"/></h1>
			<h2><spring:message code="page.header.project"/></h2>
		   	<!-- <a href="?theme=default">def</a> | <a href="?theme=none">none</a> -->
		</div>
		<div id="menu">
			<ul>
				<li><a href="welcome.html"><spring:message code="menu.home"/></a></li>
				<li><a href="item.html"><spring:message code="menu.createItem"/></a></li>
				<li><a href="itemList.html"><spring:message code="menu.itemList"/></a></li>
				<li><a href='<c:url value="/j_spring_security_logout" />'><spring:message code="menu.logout"/></a></li>
			</ul>
		</div>
		<div id="content">
			<decorator:body />
		</div>
		<div id="footer">
			Copy rights reserved. Powered by Jun.
		</div>
	</body>
</html>
